package com.tencent.stat.event;

import android.content.Context;
import com.tencent.stat.StatGameUser;
import com.tencent.stat.StatSpecifyReportedInfo;
import com.tencent.stat.common.Util;
import org.json.JSONObject;

public class f extends e
{
  private StatGameUser a = null;

  public f(Context paramContext, int paramInt, StatGameUser paramStatGameUser, StatSpecifyReportedInfo paramStatSpecifyReportedInfo)
  {
    super(paramContext, paramInt, paramStatSpecifyReportedInfo);
    this.a = paramStatGameUser.clone();
  }

  public EventType a()
  {
    return EventType.MTA_GAME_USER;
  }

  public boolean a(JSONObject paramJSONObject)
  {
    if (this.a == null)
      return false;
    Util.jsonPut(paramJSONObject, "wod", this.a.getWorldName());
    Util.jsonPut(paramJSONObject, "gid", this.a.getAccount());
    Util.jsonPut(paramJSONObject, "lev", this.a.getLevel());
    return true;
  }
}